// 把components中的所组件都进行全局化注册
// 通过插件的方式
import HospitalTop from './hospital_top/index.vue'
import HospitalBottom from './hospital_bottom/index.vue'
import Login from './login/index.vue'
import Visitor from "./visitor/index.vue"
export const componentPlugin = {
  install (app: any) {
    // app.component('组件名字'，组件配置对象)
    app.component('HospitalTop', HospitalTop)
    app.component('HospitalBottom', HospitalBottom)
    app.component('Login', Login)
    app.component('Visitor', Visitor)
  }
}